import request from '@/utils/bsinRequest';

// 获取DAO列表
export const getDAOList = (params: any) => {
  return request('/getPageList', {
    serviceName: 'AdminTenantDaoService',
    methodName: 'getPageList',
    bizParams: {
      ...params,
    },
  });
};

// 审批
export const audit = (params: any) => {
  return request('/audit', {
    serviceName: 'AdminTenantDaoService',
    methodName: 'audit',
    bizParams: {
      ...params,
    },
  });
};

// 审批
export const getTenantDao = (params: any) => {
  return request('/getTenantDao', {
    serviceName: 'AdminTenantDaoService',
    methodName: 'getTenantDao',
    bizParams: {
      ...params,
    },
  });
};
